// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.Entity;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
 * The class for the On Premises Conditional Access Settings.
 */
public class OnPremisesConditionalAccessSettings extends Entity implements IJsonBackedObject {


    /**
     * The Enabled.
     * Indicates if on premises conditional access is enabled for this organization
     */
    @SerializedName(value = "enabled", alternate = {"Enabled"})
    @Expose
	@Nullable
    public Boolean enabled;

    /**
     * The Excluded Groups.
     * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.
     */
    @SerializedName(value = "excludedGroups", alternate = {"ExcludedGroups"})
    @Expose
	@Nullable
    public java.util.List<java.util.UUID> excludedGroups;

    /**
     * The Included Groups.
     * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.
     */
    @SerializedName(value = "includedGroups", alternate = {"IncludedGroups"})
    @Expose
	@Nullable
    public java.util.List<java.util.UUID> includedGroups;

    /**
     * The Override Default Rule.
     * Override the default access rule when allowing a device to ensure access is granted.
     */
    @SerializedName(value = "overrideDefaultRule", alternate = {"OverrideDefaultRule"})
    @Expose
	@Nullable
    public Boolean overrideDefaultRule;


    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {

    }
}
